package com.win.cn.util;

import javafx.scene.control.Button;

public final class ButtonUtil {

	public static Button createButton(String name){
		Button but=new Button();
		if(StringUtil.isNotEmpty(name)){
			but.setText(name);
		}
		return but;
	}
}
